package com.example.clxy.service;

import com.example.clxy.entity.University;
import com.example.clxy.result.PageResult;
import com.example.clxy.result.WebRestResult;
import com.example.clxy.result.business.PageResult.UniversityPageResult;
import com.example.clxy.result.business.UniversityResult;

import java.util.List;


/**
 * @author Hsieh
 * @title: UniversityService
 * @projectName clxy
 * @description:
 * @date 2020/8/1021:39
 */
public interface UniversityService {
    WebRestResult addUniversity( University university);

    WebRestResult deleteUniversity(String universityid);

    WebRestResult updateUniversity(University university);

    PageResult<UniversityPageResult> getUniversitybyname(String universityname, int page, int pagesize);

    PageResult<UniversityPageResult> getUniversitybyid(String universityid, int page, int pagesize);

}

